from django.conf.urls import re_path
from rest_framework.routers import SimpleRouter
from . import views

urlpatterns = [

]

# use SimpleRoute method
routers = SimpleRouter()
# register url
routers.register('spit',views.SpitViewSet)
routers.register('spit',views.SpitCollectView,basename='collect')

urlpatterns += routers.urls